html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    margin: 0;
    font-family: sans-serif;
    color: #222;
    font-size: 0.9em;
}

main {
    flex: 1 0 auto;
    display: flex;
}

/*侧边栏*/
aside {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    background-color: #f2f2f2;
    flex: 0 0 40px;
}

aside i.fa {
    font-size: 0.9em;
}

/*主题内容*/
.content {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
}

.music-head {
    flex: 0 0 280px;
    display: flex;
    padding: 40px;
    background-color: #4e4e4e;
}

.music-list {
    flex: 1 0 auto;
    list-style-type: none;
    padding: 5px 10px 0px;
}

li {
    display: flex;
    padding: 0 20px;
    min-height: 50px;
}

li p {
    flex: 0 0 25%;
}

li span.catty-cloud {
    border: 1px solid black;
    font-size: 0.6em;
    padding: 3px;
}

li:nth-child(2n) {
    background-color: #f2f2f2;
}

.catty-music {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    font-weight: 300;
    color: #fff;
    padding: 50px;
}

.catty-music div:nth-child(1) {
    margin-bottom: auto;
}

.catty-music div:nth-child(2) {
    margin-top: 0;
}

.catty-music div:nth-child(2) i.fa {
    font-size: 0.9em;
    padding: 0 0.7em;
    font-weight: 300;
}

.catty-music div:nth-child(1) p:first-child {
    font-size: 1.8em;
    margin: 0 0 10px;
}

.catty-music div:nth-child(1) p:not(:first-child) {
    font-size: 0.9em;
    margin: 2px 0;
}

/*脚部*/

footer {
    display: flex;
    flex: 0 0 90px;
    padding: 10px;
    color: #fff;
    background: rgba(61, 100, 158, .9);
    display: flex;
    flex-direction: row;
}

section#song-details {
    flex: 0 0 50%;
    display: flex;
}

section#song-details>img {
    max-width: 100px;
}

section#song-details>div {
    padding-left: 20px;
}

section#music-controls {
    flex: 0 0 50%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width:64em) {
    section#content div.music-head {
        flex-direction: column;
        flex: 0 0 auto;
        padding: 40px 0;
        align-items: center;
    }

    section#content div.music-head>img {
        width: 150px;
    }

    section#content div.music-head>section.catty-music {
        padding: 0;
    }

    section#content div.music-head>section.catty-music div:nth-child(1) p:first-child {
        margin: 20px 0;
        font-size: 1em;
    }

    section#content div.music-head>section.catty-music div:nth-child(1) p:first-child {
        margin: 20px 0;
        font-size: 1em;
    }

    section#content ul.music-list>li>p {
        flex: 1 0 25%;
    }

    #container>main>section#content ul.music-list>li>p:nth-child(3),
    #container>main>section#content ul.music-list>li>p:nth-child(4) {
        text-align: center;
    }

    #container>main {
        flex-direction: column;
    }

    #container>main>aside {
        flex-direction: row;
    }

    #container>main>section#content div.music-head>section.catty-music>div:nth-child(2) {
        text-align: center;
    }

    .sm-hide {
        display: none;
    }
}

@media screen and (device-max-width: 320px) {
    .xsm-hide {
        display: none;
    }
}